package com.fit.beans;

import java.util.Date;
import java.util.List;

import com.fit.interfaces.Borrow;
import com.fit.interfaces.Car;
import com.fit.interfaces.Reservation;

public class CarBean implements Car {

	//private String id;
	private String companyName;
	private String modelName;
	
	private Date yearOfProduct;
	
	private List<Borrow> borrow;
	
	private List<Reservation> reservation;
	
	
	
	public List<Reservation> getReservation() {
		return reservation;
	}

	public void setReservation(List<Reservation> reservation) {
		this.reservation = reservation;
	}

	public Date getYearOfProduct() {
		return yearOfProduct;
	}

	public void setYearOfProduct(Date yearOfProduct) {
		this.yearOfProduct = yearOfProduct;
	}

	public String getCompanyName() {
		// TODO Auto-generated method stub
		return companyName;
	}

//	public String getID() {
//		// TODO Auto-generated method stub
//		return id;
//	}

	public String getModelName() {
		// TODO Auto-generated method stub
		return modelName;
	}

	public void setCompanyName(String companyName) {
		// TODO Auto-generated method stub
		this.companyName = companyName;
	}

//	public void setID(String id) {
//		// TODO Auto-generated method stub
//		this.id = id;
//	}

	public void setModelName(String modelName) {
		// TODO Auto-generated method stub
		this.modelName = modelName;
	}

	public List<Borrow> getBorrow() {
		// TODO Auto-generated method stub
		return this.borrow;
	}

	public void setBorrow(List<Borrow> borrow) {
		// TODO Auto-generated method stub
		this.borrow = borrow;
	}

}
